﻿/*
 * Test.c
 *
 * Created: 09/03/2012 10:23:48
 *  Author: Dani
 */ 

#include <avr/io.h>
#include <avr/interrupt.h>
#include "lcd162.h"

int main(void)
{
    LCDInit();
	Anemometer_Init();

	sei();
		
    while(1)
    {	
		LCDGotoXY(0,0);
		LCDDispString("Speed: ");
		LCDDispInteger(Anemometer_Read());
		LCDDispString(" Km/h  ");
    }
}